package com.ruoyi.personnel.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class PersonnelExcel extends BaseEntity {

    //排序
    @Excel(name = "序号", type = Excel.Type.ALL)
    private String sort;

    //品管师（名称）
    @Excel(name = "姓名", type = Excel.Type.ALL)
    private String name;

    //工号
    @Excel(name = "工号", type = Excel.Type.ALL)
    private String jobNo;

    //籍贯
    @Excel(name = "籍贯", type = Excel.Type.ALL)
    private String nativePlace;

    //年薪
    @Excel(name = "年资", type = Excel.Type.ALL)
    private String yearlySalary;

    //编号
    @Excel(name = "编号", type = Excel.Type.ALL)
    private String no;

    //头像
    @Excel(name = "图片", cellType = Excel.ColumnType.IMAGE, type = Excel.Type.ALL)
    private String avatarUrl;

    @Excel(name = "部门", type = Excel.Type.ALL)
    private String jobStr;

    //备注
    @Excel(name = "备注", type = Excel.Type.ALL)
    private String remark;

    //制程备注
    @Excel(name = "制程备注", type = Excel.Type.ALL)
    private String processRemark;

    //属性（是否隐藏）
    @Excel(name = "属性（是否隐藏）", type = Excel.Type.ALL,readConverterExp = "1=是,0=否")
    private String attribute;

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJobNo() {
        return jobNo;
    }

    public void setJobNo(String jobNo) {
        this.jobNo = jobNo;
    }

    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    public String getYearlySalary() {
        return yearlySalary;
    }

    public void setYearlySalary(String yearlySalary) {
        this.yearlySalary = yearlySalary;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getJobStr() {
        return jobStr;
    }

    public void setJobStr(String jobStr) {
        this.jobStr = jobStr;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getProcessRemark() {
        return processRemark;
    }

    public void setProcessRemark(String processRemark) {
        this.processRemark = processRemark;
    }

    public String getAttribute() {
        return attribute;
    }

    public void setAttribute(String attribute) {
        this.attribute = attribute;
    }

    @Override
    public String toString() {
        return "PersonnelExcel{" +
                "sort='" + sort + '\'' +
                ", name='" + name + '\'' +
                ", jobNo='" + jobNo + '\'' +
                ", nativePlace='" + nativePlace + '\'' +
                ", yearlySalary='" + yearlySalary + '\'' +
                ", no='" + no + '\'' +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", jobStr='" + jobStr + '\'' +
                ", remark='" + remark + '\'' +
                ", processRemark='" + processRemark + '\'' +
                ", attribute='" + attribute + '\'' +
                '}';
    }
}
